//
//  SendWifiDataTool.h
//  Splash
//
//  Created by Mac on 16/4/1.
//  Copyright © 2016年 Mac. All rights reserved.
//

//发送工具类，把连接也包含进去了
#import <Foundation/Foundation.h>
#import "AsyncUdpSocket.h"
@interface SendWifiDataTool : NSObject 


SingletonH(SendWifiDataTool)


typedef enum {
    redShade    = 1,  //红色渐变
    blueShade   = 2,  //蓝色渐变
    greenShade  = 3,  //绿色渐变
    Color7Shade = 4,  //7彩色渐变
    cyclicShade = 5,  //循环渐变
    
}insetMode;

typedef enum {

    openDevice  = 1,    //打开设备
    closeDevice = 255,  //关闭设置
}PowerControlCmd;

//发送单个颜色的命令
- (void)sendSingleRGBColorCmdRedValue:(NSString*)redValue blueValue:(NSString*)blueValue  greenValue:(NSString*)greenValue;

- (void)sendInsetCmd:(insetMode)modeCmd;
- (void)sendPowerCmd:(PowerControlCmd)cmd;
@end
